
<form id="edit-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
    {:token()}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商机阶段:</label>
        <div class="form-group col-sm-8">

            <select name="row[type]" class="form-control">
                <option value="0">初期沟通</option>
                <option value="1">立项跟踪</option>
                <option value="2">方案/报价</option>
                <option value="3">谈判审核</option>
                <option value="4">赢单</option>
                <option value="5">输单</option>
                <option value="6">无效</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">上传附件:</label>
        <div class="form-group col-sm-8">

            <div class="input-group">
                <input id="c-image" class="form-control" size="35" name="row[file]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
							<span><button type="button" id="faupload-image" class="btn btn-danger faupload"
                                          data-resize-quality="0.8"
                                          data-resize-width="1024"
                                          data-resize-height="768"
                                          data-input-id="c-image"
                                          data-url="qingdongams/base/upload"
                                          data-multiple="true" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>

                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-image"></ul>
        </div>

    </div>
    <div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">备注:</label>
        <div class="form-group col-sm-8">
				<textarea id="c-content" class="form-control"  rows="5" name="row[remark]"
                          placeholder=""></textarea>
        </div>


    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
